/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2204 - Var5
 * <p>Powered by webrx On 2022-08-29 14:51:45
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Var5 {
    public static void main(String[] args) {
        //byte x = 6;
        //x += 2; //相当于 x = x + 2;
        //System.out.println(x);

        //byte x = 6;
        //x = (byte) (x + 2);
        //System.out.println(x);

        String s1 = "ok";
        String s2 = "ok";
        System.out.print(s1 == s2);

        String s3 = "ok";
        String s4 = "ok";


        System.out.println(s3.equals(s4));
        System.out.println(s3 == s4); //false


    }
}
